Skip to content

Conversation

@oblomov-dev
Copy link
Member

No description provided.

…ABAP code snippets

Updated all abap2UI5 code examples throughout the documentation to use
the modern ABAP string literal syntax with pipe delimiters |...| instead
of the legacy single quote syntax '...'.

This affects:
- Event handling (WHEN statements, client->_event() calls)
- String literals in method parameters
- View definitions
- Message and error handling
- Data initialization

16 files modified with consistent string delimiter updates.
… templates

Following Clean ABAP guidelines, replaced pipe delimiters |...| with backticks `...`
for simple string literals, while keeping |...| only for string templates with variables.

Changes:
- Simple literals: `POST`, `BUTTON_POST`, `close`, etc. (was: |...|)
- String templates: |Your name is { name }| (unchanged, contains variable)
- UI5 bindings: '{SALESORDER}' (unchanged, UI5 syntax)

This follows Clean ABAP recommendations:
- Use ` for defining literals
- Use | only to assemble text with variables
- Avoids needless overhead from pipe syntax for fixed values

16 files updated with consistent Clean ABAP string syntax.
@oblomov-dev oblomov-dev merged commit 6fd61a6 into main Nov 26, 2025
@oblomov-dev oblomov-dev deleted the claude/fix-string-delimiters-01PgDBDWnGZWUMAJgeUbnmbi branch November 26, 2025 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants